package com.chenwut.Exercise;

import java.io.File;
import java.util.Arrays;

public class Exercise4 {
    public static void main(String[] args) {
        int[] arr = {7, 1, 2, 3, 4, 5, 6};
        int[] arr1 = new int[arr.length];
        System.arraycopy(arr, 0, arr1, 0, arr.length);

        int i = Arrays.binarySearch(arr, 5);
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));
        System.out.println(i);
        String absolutePath = new File("").getAbsolutePath();
        System.out.println(absolutePath);
    }

}
